package com.nbsaas.boot.evaluate.api.domain.request;

import com.nbsaas.boot.rest.filter.Operator;
import com.nbsaas.boot.rest.filter.Search;
import com.nbsaas.boot.rest.request.PageRequest;
import lombok.*;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.nbsaas.boot.rest.enums.StoreState;

/**
* 评价-搜索bean
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class EvaluateSearch   extends PageRequest implements Serializable {

/**
* 序列化参数
*/
private static final long serialVersionUID = 1L;

    /**
    * 评价分数
    **/
    @Search(name = "score",operator = Operator.eq)
    private Integer score;
    /**
    * 评价类型
    **/
    @Search(name = "evaluateType",operator = Operator.eq)
    private Integer evaluateType;
    /**
    * 评价分类
    **/
    @Search(name = "catalog.id",operator = Operator.eq)
    private Long catalog;
    /**
    * 是否匿名
    **/
    @Search(name = "anonymous",operator = Operator.eq)
    private Integer anonymous;
    /**
    * 评价状态
    **/
    @Search(name = "storeState",operator = Operator.eq)
    private StoreState storeState;
    /**
    * 评价标题
    **/
    @Search(name = "title",operator = Operator.like)
    private String title;
    /**
    * 被评价用户
    **/
    @Search(name = "targetUser.id",operator = Operator.eq)
    private Long targetUser;




}